package com.l024.model.system;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.security.Permissions;
import java.sql.Timestamp;
import java.util.Set;

/**
 * 角色表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "角色模型类",description = "角色模型类")
public class MeetRole implements Serializable {

  @ApiModelProperty(value = "角色ID",name = "rId",dataType = "long")
  private long rId;
  @ApiModelProperty(value = "角色名字",name = "rName",dataType = "String")
  private String rName;
  @ApiModelProperty(value = "角色创建时间",name = "rCreateTime",dataType = "Timestamp")
  private Timestamp rCreateTime;
  @ApiModelProperty(value = "角色更新时间",name = "rUpdateTime",dataType = "Timestamp")
  private Timestamp rUpdateTime;

  /**
   * 角色对应权限集合
   */
  private Set<MeetPermissions> permissions;
}
